/**
 * Created by Administrator on 2015/12/29.
 */
angular.module('zhjf.service',[])
  .service('zhjfService',['$http','appItfAopService',function($http,appItfAopService){

    var params = {
      //"UserName":"",
      //"Balance":"",
      "Mdn":"",
      "PayMoney":"",
      "queryFeeInfoParams":{"serialNumber":"","isAgent":"1"},
      "queryFeeInfoData":{},
      "chargeFeeNormalParams":{
        "serialNumber":"",
        "tradeFee":"",
        "custName":"",//潘帅(后付费) //查询返回值
        "spayFee":"", //265.11//查询返回值
        "sysCode":"",//CBS//查询返回值
        "netTypeCode":"",//50//查询返回值
        "userinfoback_SERVICE_CLASS_CODE":"",//查询返回值
        "userinfoback_PREPAY_TAG":"",//查询返回值
        "userinfoback_PRODUCT_ID":"",//查询返回值
      }
    };

    return {

      getParmas:function(){
        return params;
      },
      queryBusiness:function(param){
        return appItfAopService.do_queryBusiness_req(param);
      },
      //缴费查询
      queryFeeInfo:function(params)
      {
        return appItfAopService.do_queryFeeInfo_req(params);
      },
      //确认缴费
      chargeFeeNormalAuto:function(params)
      {
        return appItfAopService.do_chargeFeeNormal_req(params);
      },
      //插入日志
      insertLog:function(param)
      {
        return appItfAopService.do_insertLog_req(param);
      },
      /**
       * 获得综合缴费的缴费金额
       * @returns {*[]}
       */
      getMoneyArray:function(){
        return  [{'banlance':'10元'},{'banlance':'20元'},{'banlance':'30元'},{'banlance':'50元'},{'banlance':'80元'},{'banlance':'100元'},{'banlance':'200元'}];
      }
    }
  }]);
